/*
 * @Author: ice
 * @Date: 2017-09-11 11:11:01
 * @Last Modified by: ice
 * @Last Modified time: 2020-08-31 09:13:58
 */
import * as mtypes from '../types/mutation-types';

const state = {
    deviceType: 'pc'
};

const mutations = {
    [mtypes.SET_SYSINFO](state, sysinfo) {
        state.deviceType = sysinfo.deviceType;
    }
};

export default {
    state,
    mutations
};
